package com.bulletelc.apollopre.module.display.product.details.comment;

import com.bulletelc.apollopre.entity.CommentBean;
import com.bulletelc.apollopre.framework.IPresenter;
import com.bulletelc.apollopre.framework.IView;

import java.util.List;

/**
 * author: lhl
 * date  : 2018/01/15
 * desc  : TODO
 */

public interface CommentContract {

    interface View extends IView {
        void onSuccessCommentsList(List<CommentBean> comments);
        void onErrorCommentsList(String error);
        void onFailCommentsList(String fail);
    }

    interface Presenter extends IPresenter<View> {
        void getCommentsList(String productId);
    }

}
